﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace DataModel
{
    [DataContract]
    public class Army
    {
        /*
        "id": 15016,
        "name": "Blood Angel V5",
        "description": null,
        "wantedPoints": 1000,
        "points": 1320,
        "isShared": false
         */

        [DataMember(Name="id", Order=0)]
        public int Id { get; set; }

        [DataMember(Name = "name", Order = 1)]
        public string Name { get; set; }

        [DataMember(Name = "description", Order = 2)]
        public string Description { get; set; }

        [DataMember(Name = "wantedPoints", Order = 3)]
        public int WantedPoints { get; set; }

        [DataMember(Name = "points", Order = 4)]
        public int Points { get; set; }
    }
}
